export const paramTypeMap = {
  1: 'String',
  2: 'Number'
}
export const paramMustMap = {
  1: '是',
  0: '否'
}
export const purchaseRecordsColumns = [
  {
    title: '成交时间',
    dataIndex: 'completeTime',
    align: 'center'
  },
  {
    title: '采购部门',
    dataIndex: 'purchaseDeptName',
    align: 'center'
  },
  {
    title: '商品规格',
    dataIndex: 'specShow',
    align: 'center'
  },
  {
    title: '成交价',
    dataIndex: 'price',
    align: 'center',
    scopedSlots: {
      customRender: 'money'
    }
  },
  {
    title: '成交数量',
    dataIndex: 'num',
    align: 'center'
  },
  {
    title: '成交总价',
    dataIndex: 'subAmount',
    align: 'center',
    scopedSlots: {
      customRender: 'money'
    }
  }
]

export const evaluateTabs = [
  {
    label: '全部评价', value: '', num: 0
  },
  {
    label: '好评', value: 'high', num: 0
  },
  {
    label: '中评', value: 'middle', num: 0
  },
  {
    label: '差评', value: 'bad', num: 0
  },
]
